{include file='header.tpl'}
{if $fp->hasError()}
<div id="errors">
填写的信息有误，请检查。
</div>
{/if}
<form method='post' action="{geturl action='create'}">
<fieldset id="create-album">
<legend>创建相册</legend>
<div class="row">
<label for='album_name'>相册名称</label>
<input id="album_name" type="text" name="albumname" value="{$fp->albumname}" />
{include file='lib/error.tpl' error=$fp->getError('albumname')}
</div>
<div>
    <input class="submit" type="submit" value="创建" />
</div>
</fieldset>
</form>

{include file='footer.tpl'}